package local.blueheart.data.jxmobilemigrate.domino;

import local.blueheart.data.jxmobilemigrate.util.NotesUtil;
import lotus.domino.View;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class DominoView {

    private static final Logger LOGGER = LoggerFactory.getLogger(DominoView.class);

    private View view;

    public DominoView(View view) {
        this.view = view;
    }


    /**
     * recycle掉所有持有的view
     * @return true recycle成功,false 失败
     */
    public boolean recycle(){
        return NotesUtil.recycle(view);
    }
}
